//
//  AddChase1TableViewCell.m
//  PlayerWorld
//
//  Created by 汪的一声就哭了！ on 16/8/19.
//  Copyright © 2016年 刘成. All rights reserved.
//

#import "AddChase1TableViewCell.h"

@implementation AddChase1TableViewCell
- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.label = [[UILabel alloc] init];
        [self.contentView addSubview:self.label];
        
        self.textField = [[UITextField alloc] init];
        [self.contentView addSubview:self.textField];
        self.textField.borderStyle = UITextBorderStyleRoundedRect;
        self.textField.font = [UIFont systemFontOfSize:12];
        
        self.backLabel = [[UILabel alloc] init];
        [self.contentView addSubview:self.backLabel];
    }
    return self;
}
- (void)layoutSubviews
{
    [super layoutSubviews];
    self.label.frame = CGRectMake(20, 0, 110, self.contentView.bounds.size.height);
    self.textField.frame = CGRectMake(130, 8, 40, self.contentView.bounds.size.height - 16);
    self.backLabel.frame = CGRectMake(180, 0, self.contentView.bounds.size.width-180, self.contentView.bounds.size.height);
}
@end
